Personal tools

Lua/Server/Player/Functions/GetVehicle

From JC2-MP Documentation

< Lua‎ | Server‎ | Player
Jump to: navigation, search

Returns    Vehicle
Prototype    Player:GetVehicle()
Description    No description


Description

Returns the vehicle the player is occupying, or nil if the player is not in a vehicle.

See also